/*
 * @Author: your name
 * @Date: 2022-03-29 09:30:13
 * @LastEditTime: 2022-03-29 17:31:44
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \erp_background_system\src\index.js
 */
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
import { HashRouter } from 'react-router-dom'
import store from './redux/store';
ReactDOM.render(
  // <React.StrictMode>
    <HashRouter>
      <App />
    </HashRouter>,
  // </React.StrictMode>,
  document.getElementById('root')
);

  /* store.subscribe(()=>{
    ReactDOM.render(
      // <React.StrictMode>
        <HashRouter>
          <App />
        </HashRouter>,
      // </React.StrictMode>,
      document.getElementById('root')
    );
  }) */

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
